package com.oms.module.admin.domain.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.oms.common.BaseDomain;
import com.oms.constant.FlagTypeEnum;
import com.oms.module.admin.constant.AnnouncementTypeEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @Author zhanghailong
 * @Description TODO
 * @Date 18:14 2020/3/26
 */
@TableName(value = "oms_announcement")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AnnouncementEntity extends BaseDomain<AnnouncementEntity> {
    private String announcementTitle;
    private String announcementContent;
    private AnnouncementTypeEnum announcementType;
    @TableLogic
    private FlagTypeEnum announcementState;
}
